package com.imot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

/**
 * Hello world!
 *
 */
@EnableWebSocket
@SpringBootApplication
@EnableTransactionManagement
@EnableFeignClients
@MapperScan("com.imot.mapper")
public class DataManageApplication
{
    public static void main( String[] args )
    {
        try {
            SpringApplication springApplication = new SpringApplication(DataManageApplication.class);
            springApplication.run(args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    }

